Skip to content

Dev#102

Merged
zTgx merged 2 commits intomainfrom
dev
Apr 21, 2026
Merged

Dev#102
zTgx merged 2 commits intomainfrom
dev

Conversation

@zTgx
Copy link
Copy Markdown
Contributor

@zTgx zTgx commented Apr 21, 2026

Summary

Changes

Checklist

  • Code compiles (cargo build)
  • Tests pass (cargo test --lib --all-features)
  • No new clippy warnings (cargo clippy --all-features)
  • Public APIs have documentation comments
  • Python bindings updated (if Rust API changed)

Notes

zTgx added 2 commits April 21, 2026 23:39
Add streaming query support that yields real-time retrieval events as
dicts with type information. This includes a new StreamingQuery async
iterator that bridges Rust's mpsc::Receiver<RetrieveEvent> to Python.

- Introduce PyStreamingQuery wrapper for async iteration over events
- Add query_stream method to PyEngine with proper event conversion
- Bridge RetrieveEvent variants to Python dictionaries with "type" keys
- Provide proper terminal event handling (completed/error)
- Update Session.query_stream to use real Rust-side streaming
- Add StreamingQueryResult to consume and process streaming events

refactor(docs): update navbar styling and disable blog link

Replace hardcoded colors with CSS variables for theme consistency.
Apply subtle gradient background pattern to navbar. Clean up redundant
styles and remove dark mode specific overrides.

- Replace hardcoded hex colors with --text, --text-light variables
- Add grid-like gradient background pattern using linear gradients
- Remove duplicate border/box-shadow declarations
- Hide navbar pseudo-elements for cleaner appearance

feat(python): introduce SyncSession for synchronous operations

Provide synchronous Vectorless API that works in scripts and Jupyter
notebooks without requiring async/await syntax. Uses background event
loop management for compatibility across different environments.

- Create SyncSession wrapping Session with sync methods
- Implement run_async utility for event loop bridging
- Add synchronous versions of all core operations (index, ask, etc.)
- Support both new and existing event loop contexts

refactor(python): enhance LangChain and LlamaIndex compatibility

Update LangChain and LlamaIndex integrations to support passing
Session instances for engine reuse. Replace asyncio.run usage with
robust async-to-sync bridging utility.

- Add session parameter to VectorlessRetriever constructors
- Implement lazy session creation with caching
- Use run_async instead of asyncio.run for better compatibility
- Maintain backward compatibility with existing API patterns
- Create GitHubStats component that fetches and displays
  stars, open issues, and open PRs from GitHub API
- Add responsive CSS styles for the stats widget
- Position the widget in the top-right corner of homepage
- Remove old GitHub star component from navbar
- Replace with comprehensive stats widget showing repository metrics
- Implement automatic refresh every 5 minutes
- Add accessibility features with keyboard navigation support
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 21, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
vectorless Ready Ready Preview, Comment Apr 21, 2026 3:54pm

@zTgx zTgx merged commit 7a0ae7c into main Apr 21, 2026
3 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant